The getOne or getPos function determines the position of a specific value in a linear list. (The getPos function works the same as the getOne function for a linear list.)